package model

type WeChatGroup struct {
	Id               int     `json:"id" from:"id" gorm:"primary key;AUTO_INCREMENT"`
	LoginToken       string  `json:"login_token" from:"login_token" gorm:"column:login_token;comment:机器人登录token;type:varchar(20)"`
	WeChatGroupName  string  `json:"we_chat_group_name" from:"we_chat_group_name" gorm:"column:we_chat_group_name;comment:微信群名;type:varchar(100)"`
	UserNum          int     `json:"user_num" from:"user_num" from:"user_num" gorm:"column:user_num;comment:群总人数;"`
	RobotWeChat      string  `json:"robot_we_chat" from:"robot_we_chat" gorm:"column:robot_we_chat;comment:机器人微信id;type:varchar(20)"`
	RunWater         float64 `json:"run_water" from:"run_water" gorm:"column:run_water;comment:流水;"`
	Pump             float64 `json:"pump" from:"pump" gorm:"column:pump;comment:抽水比列;"`
	ReturnedWater    float64 `json:"returned_water" from:"returned_water" gorm:"column:returned_water;comment:回水;"`
	NotReturnedWater float64 `json:"not_returned_water" from:"not_returned_water" gorm:"column:not_returned_water;comment:未回水"`
	UpwardDivision   float64 `json:"upward_division" from:"upward_division" gorm:"column:upward_division;comment:上分"`
	LowerDivision    float64 `json:"lower_division" from:"lower_division" gorm:"column:lower_division;comment:下分"`
}

func (WeChatGroup) TableName() string {
	return "we_chat_group"
}
